<template>
  <header>
      <el-button @click='handleMenu' class='elbut' icon='el-icon-menu' size='mini'></el-button>
  </header>
</template>

<script>
export default {
    methods: {
        handleMenu() {
            this.$store.commit('collapseMenu')
        }
    }
}
</script>

<style lang="less" scoped>
header{
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}
</style>>

